 /*
  * Copyright (c) 2021, 2023, yishun.cn All rights reserved.
  *
  */
 package cn.shun.dao;

 import cn.shun.annotation.PageX;
 import cn.shun.model.UserLoginInfo;
 import cn.shun.pojo.User;
 import org.apache.ibatis.annotations.Mapper;

 import java.util.List;

 /**
  * <p>Project: sboot_2023-cn.shun.dao-UserDao
  * <p>Powered by yishun On 2023-04-13 21:50:44
  *
  * @author yishun [2465734101@qq.com]
  * @version 1.0
  * @since 17
  */
 @Mapper
 public interface UserDao {
     @PageX
     List<User> queryPage();

     User selectById(Integer id);

     int updateById(User user);

     int insert(User user);

     User selectOne(UserLoginInfo userQuery);

     int deleteById(Integer id);
 }
